let proxyObj = {}
proxyObj['/'] = {
  //websocket
  ws:false,
  //目标地址
  // target:'http://localhost:8000',
  // target:'http://124.71.213.109:8000',
  target:'http://120.46.153.72:9090',
  //发送请求头中host会设置成target
  changeOrigin:true,
  //不重写请求地址
  pathRewrite:{
    '^/':'/'
  }
}

module.exports = {
  devServer:{
    host:'localhost',
    port:8080,
    proxy:proxyObj
  }
}